package com.byjh.app.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 添加刷题记录
 */
@Data
public class AddQuestionRecordDto {

    @NotNull(message = "subjectId不能为空")
    private Long subjectId;

    @NotNull(message = "questionId不能为空")
    private Long questionId;

    @NotNull(message = "isCorrect不能为空")
    private Integer isCorrect;
}
